package com.hyou.starter.autoconfigure.transaction;

import com.hyou.common.base.BaseBean;

/**
 * 事务传播配置项
 * 
 * @author FengChangshuo
 * @version 1.0.0 2018-03-22 10:41:35 初始创建
 */
public class TransactionAttributeItemProp extends BaseBean {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1858447688874037963L;
    
    /**
     * 方法匹配规则
     */
    private String methodReg;
    
    /**
     * 事务传播机制等配置值
     */
    private String propagation;

    /**
     * @return 方法匹配规则
     */
    public String getMethodReg() {
        return this.methodReg;
    }

    /**
     * @param methodReg 方法匹配规则
     */
    public void setMethodReg(String methodReg) {
        this.methodReg = methodReg;
    }

    /**
     * @return 事务传播机制等配置值
     */
    public String getPropagation() {
        return this.propagation;
    }

    /**
     * @param propagation 事务传播机制等配置值
     */
    public void setPropagation(String propagation) {
        this.propagation = propagation;
    }
    
}
